#pragma once

#include <windows.h>
#include <usbfnioctl.h>

class USBfnBus
{
public:
	USBfnBus(void);
	~USBfnBus(void);
	DWORD EnumClientsStart(void);
	DWORD EnumClients(UFN_CLIENT_INFO *);
	DWORD GetCurrentClient(UFN_CLIENT_INFO * );
	DWORD SetCurrentClient(UFN_CLIENT_NAME * );
	DWORD SetDefaultClient(UFN_CLIENT_NAME * );
	DWORD Open(void);
	DWORD Close(void);
private:
	HANDLE m_ufnHandle;
	
};
